package com.liangsui.mss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liangsui.mss.domain.Provider;
import com.liangsui.mss.dto.ProviderDto;
import com.liangsui.mss.vo.DataGridView;

import java.util.List;

/**
* @author zhang
* @description 针对表【stock_provider(供应商信息表)】的数据库操作Service
* @createDate 2022-12-06 14:18:42
*/
public interface ProviderService extends IService<Provider> {

    DataGridView listProviderPage(ProviderDto providerDto);

    int addProvider(ProviderDto providerDto);

    int updateProvider(ProviderDto providerDto);

    Provider getProviderById(Long providerId);

    int deleteProviderByIds(Long[] providerIds);

    List<Provider> selectAllProvider();
}
